package com.wlhse.controller;

import com.wlhse.dto.CheckDto;
import com.wlhse.dto.SupervisionTaskDto;
import com.wlhse.service.SupervisionTaskDetailService;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;

@Controller("TaskDetail")
@RequestMapping("/api/v1")
public class TaskDetailController {

//    @Resource
//    private SupervisionTaskDetailService supervisionTaskDetailService;

//    @RequestMapping(value = "/queryTaskDetail", method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
//    public String queryTaskDetail(@ModelAttribute SupervisionTaskDto supervisionTaskDto){
//        System.out.println("123");
//        return supervisionTaskDetailService.queryTaskDetail(supervisionTaskDto.getSupervisionTaskCode());
//    }

//    @RequestMapping(value = "/queryTaskDetail", method = RequestMethod.GET,produces = {"application/json;charset=UTF-8"})
//    public String queryTaskDetail(){
//        System.out.println("123");
//        return null;
//    }

//    @RequestMapping(value = "/updateSupervisionTask", method = RequestMethod.PUT,produces = {"application/json;charset=UTF-8"})
////    public String updateSupervisionTask(@RequestBody(required = false)SupervisionTaskDto supervisionTaskDto){
////
////        return supervisionTaskDetailService.updateSupervisionTask(supervisionTaskDto);
////    }


}
